package net.mingsoft.mdiy.entity;

import net.mingsoft.base.entity.*;
import com.baomidou.mybatisplus.annotation.*;
import java.util.*;

@TableName("mdiy_dict")
public class DictEntity extends BaseEntity
{
    private static final long serialVersionUID = 1502518956351L;
    @TableField(whereStrategy = FieldStrategy.NEVER)
    private int notDel;
    private String dictValue;
    private String dictLabel;
    private String dictType;
    private String dictDescription;
    private Integer dictSort;
    private String isChild;
    private Boolean dictEnable;
    private String dictRemarks;
    
    public void setDictValue(final String dictValue) {
        this.dictValue = dictValue;
    }
    
    public String getDictValue() {
        return this.dictValue;
    }
    
    public void setDictLabel(final String dictLabel) {
        this.dictLabel = dictLabel;
    }
    
    public String getDictLabel() {
        return this.dictLabel;
    }
    
    public void setDictType(final String dictType) {
        this.dictType = dictType;
    }
    
    public String getDictType() {
        return this.dictType;
    }
    
    public void setDictDescription(final String dictDescription) {
        this.dictDescription = dictDescription;
    }
    
    public String getDictDescription() {
        return this.dictDescription;
    }
    
    public void setDictSort(final Integer dictSort) {
        this.dictSort = dictSort;
    }
    
    public Integer getDictSort() {
        return this.dictSort;
    }
    
    public void setDictRemarks(final String dictRemarks) {
        this.dictRemarks = dictRemarks;
    }
    
    public String getDictRemarks() {
        return this.dictRemarks;
    }
    
    public String getIsChild() {
        return this.isChild;
    }
    
    public void setIsChild(final String isChild) {
        this.isChild = isChild;
    }
    
    public void setDictEnable(final Boolean dictEnable) {
        this.dictEnable = dictEnable;
    }
    
    public Boolean getDictEnable() {
        return this.dictEnable;
    }
    
    public int getNotDel() {
        return this.notDel;
    }
    
    public void setNotDel(final int notDel) {
        this.notDel = notDel;
    }
    
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || this.getClass() != o.getClass()) {
            return false;
        }
        final DictEntity that = (DictEntity)o;
        return Objects.equals(this.dictType, that.dictType) && (Objects.equals(this.dictValue, that.dictValue) || Objects.equals(this.dictLabel, that.dictLabel));
    }
}
